import React from 'react'

function selectedPage(props: any) {
    const { festivals } = props
    return (
        <div>
            {
                festivals.map((item: any, index: any) => (
                    <div className='labourBox_content_img' key={index}>
                        <div><img src={item.img}  alt="" /></div>
                        <div className='CreatePoster_right_layer'>海报</div>
                        <div className='CreatePoster_right_masking'>
                            <p>查看2个小模块</p>
                        </div>
                        <div className='labourBox_content_introduce'>
                            <p> {item.msg} </p>
                            <b style={{ display: 'block' }}>
                                <span style={{ marginRight: '10px', color: '#ff69b4' }}>{item.avatar}</span>
                                <span>{item.title}</span>
                            </b>
                        </div>
                    </div>
                ))
            }
        </div>
    )
}

export default selectedPage
